package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AgentStoreListVo {

    // 代理服务商家表id
    @Schema(type = "Integer", name = "id", description = "代理服务商家表id", required = true, defaultValue = "1")
    private Integer id;

    // 店名
    @Schema(type = "String", name = "name", description = "店名", required = true, defaultValue = "1")
    private String name;

    // Logo
    @Schema(type = "String", name = "logo", description = "Logo", required = true, defaultValue = "1")
    private String logo;

    // 用户昵称
    @Schema(type = "String", name = "nickname", description = "昵称", required = true, defaultValue = "1")
    private String nickname;

    @Schema(type = "String", name = "avatar", description = "头像", required = true, defaultValue = "avatar.png")
    private String avatar;

    @Schema(type = "Integer", name = "role", description = "角色：0普通用户，1达人，2代理人，4商家，512管理员", required = true, defaultValue = "1")
    private Integer role;

    @Schema(type = "BigDecimal", name = "childUserMoney", description = "推广金额", required = true, defaultValue = "1")
    private BigDecimal childUserMoney;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

}
